package equation;

public class MultiplyEquation extends Equation {

    public MultiplyEquation(Integer operandA, Integer operandB) {
        super(operandA, operandB);
        this.setOperator('*');
    }

    @Override
    public Integer calculate() {
        return this.getOperandA() * this.getOperandB();
    }
}
